home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 April / PCWorld_2004-04_cd.bin / software / vyzkuste / pspad / pspad429inst_cz.exe / {app} / Context / Java.DEF < prev    next >
Text File  |  2004-02-16  |  2KB  |  62 lines

  1. ; PSPad code template for Java
  2. ; Created by PSPad   14.7.2002
  3. ; Author:  Fiala  pspad@wo.cz
  4. ;-------------------------------------------------------------------------------
  5. [import | Import balφku]
  6. import java.|.*;
  7. ;-------------------------------------------------------------------------------
  8. [class main | Java program - zßklad]
  9. class | {
  10.  
  11.   () {
  12.  
  13.   }
  14.  
  15.   public static void main(String[] args) {
  16.  
  17.   }
  18. }
  19. ;-------------------------------------------------------------------------------
  20. [println | System.out.println]
  21. System.out.println("|");
  22. ;-------------------------------------------------------------------------------
  23. [for | for cyklus]
  24. for(int i=0; i<|; i++) {}
  25. ;-------------------------------------------------------------------------------
  26. [while | while cyklus]
  27. while(|) {}
  28. ;-------------------------------------------------------------------------------
  29. [do-while | do-while cyklus]
  30. do {
  31.   |
  32. } while();
  33. ;-------------------------------------------------------------------------------
  34. [if-else | ·pln² podmi≥ujφcφ p°φkaz]
  35. if(|) {
  36.  
  37. }
  38. else {}
  39. ;-------------------------------------------------------------------------------
  40. [() ? : | ternßrnφ operßtor]
  41. (|) ? :
  42. ;-------------------------------------------------------------------------------
  43. [switch | p°epφnaΦ]
  44. switch(|) {
  45.   case  :
  46.     ;
  47.     break;
  48.   default  :
  49.     ;
  50. }
  51. ;-------------------------------------------------------------------------------
  52. [try | try-catch blok]
  53. try {
  54.   |
  55. }
  56. catch (Exception exc) {
  57.   System.out.println("Unexpected exception");
  58.   exc.printStackTrace();
  59. }
  60. finally {}
  61. ;-------------------------------------------------------------------------------
  62.